#include "SeqList.h"

void TestSeqList1()
{
	SeqList sl;
 	SeqListInit(&sl);
	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);
	SeqListPushBack(&sl, 5);
	SeqListPushFront(&sl, 5);
	SeqListPopBack(&sl);
	SeqListPopFront(&sl);
	SeqListPopFront(&sl);
	int pos = SeqListFind(&sl, 3);
	int pos1 =  SeqListFind(&sl, 30);
	SeqListInsert(&sl, 0, 10);
	SeqListInsert(&sl, 3, 10);
	SeqListInsert(&sl, pos, 10);

	SeqListPrint(&sl);
	SeqListDestroy(&sl);
}

int main()
{
	TestSeqList1();

	return 0;
}